<div class="inner-left">
<div class="col-corn-top">&nbsp;</div>
	<h2>Talk with expert</h2>
	<p>FYI, First place a ticket and chat with any of our expert with referance of your Ticket ID</p>
	<div style="width:250px;margin-left:11px;height:450px;text-align:center"><br />
		<object id="pingbox9aad9tzlsug00" type="application/x-shockwave-flash" data="http://wgweb.msg.yahoo.com/badge/Pingbox.swf"
				                          width="250" height="420">
			<param name="movie" value="http://wgweb.msg.yahoo.com/badge/Pingbox.swf" />
			<param name="allowScriptAccess" value="always" />
			<param name="flashvars" value="wid=uG_cpP.pRmMlEEp6A3ijfmY-" />
		</object>
	</div>
<div class="col-corn-bottom">&nbsp;</div>
</div>
<div class="inner-right">
	<div class="inner">
		<?php if(isset($id)):?>
		<h2> Thank you...</h2>
		<p>
			Ticket submitted successfully, we will be keep in thouch with you soon.<br />
			<strong>Ticket track ID:  <?php echo $id; ?></strong>

		</p>
		<?php else:?>
			<?php

				echo App::Load("Helper/Javascript")->validation_map(
																Array(
																		'_errBg'=>ERROR_BACKGROUND,
																		'_dflBg'=>'#CFCFCF',
																		'_autoSubmit'=>'true',
																		'_errToolTips'=>'false',
																		'_errorMark' => 'inline'
																	)
															);
			?>

			<div><?php echo $pageInfo['content']; ?></div>
			<br />
			<h2><?php echo $this->__("Submit Ticket"); ?></h2>
			<p>


			<form method="post" class="app_form app_validation" enctype="multipart/form-data" id="flogin_form" action="<?php echo $this->baseurl("/ticket"); ?>">
				<ul>
					<li>
						<label>&nbsp;</label>
						<span><span class="fmessage message"><?php echo isset($error) ? $error : ""; ?></span></span>
					</li>
				<?php
					$this->data['Ticket']['name'] = isset($this->data['Ticket']['name']) ? $this->data['Ticket']['name'] : "";
					echo App::Load("Helper/Html")->get_from_row("Name", App::Load("Helper/Html")->inputTag("data[Ticket][name]",$this->data['Ticket']['name'],array("id"=>"name","class"=>"input check_notempty","longdesc"=>"Enter your name")));

					$this->data['Ticket']['email'] = isset($this->data['Ticket']['email']) ? $this->data['Ticket']['email'] : "";
					echo App::Load("Helper/Html")->get_from_row("Email", App::Load("Helper/Html")->inputTag("data[Ticket][email]",$this->data['Ticket']['email'],array("id"=>"email","class"=>"input check_email","longdesc"=>"Enter you email address")));

					$this->data['Ticket']['title'] = isset($this->data['Ticket']['title']) ? $this->data['Ticket']['title'] : "";
					echo App::Load("Helper/Html")->get_from_row("Subject", App::Load("Helper/Html")->inputTag("data[Ticket][title]",$this->data['Ticket']['title'],array("id"=>"title","class"=>"input check_notempty","longdesc"=>"Enter ticket title")));

					$this->data['Ticket']['description'] = isset($this->data['Ticket']['description']) ? $this->data['Ticket']['description'] : "";
					echo App::Load("Helper/Html")->get_from_row("Description", App::Load("Helper/Html")->textareaTag("data[Ticket][description]",$this->data['Ticket']['description'],array("id"=>"desc","class"=>"input check_notempty","rows"=>"5","longdesc"=>"Enter ticket description")));

					echo App::Load("Helper/Html")->get_from_row("Attach File", App::Load("Helper/Html")->fileTag("data[Ticket][file]","",array("id"=>"file","class"=>"input")));

					echo App::Load("Helper/Html")->get_from_row(App::Helper('Html')->capachaTag("ticket",Array("bk_color"=>"#99011E","font_color"=>"FFFFFF")), App::Load("Helper/Html")->inputTag("data[Ticket][capacha]","",array("id"=>"ticket","class"=>"input")));
					echo App::Load("Helper/Html")->get_from_row("&nbsp;",App::Load("Helper/Html")->submitTag("data[Ticket][button]","Send",array("class"=>"button")));

				?>
				</ul>
			</form>
			</p>

		<?php endif;?>
	</div>
</div>